package com.zhongkun.datahome.service.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

/**
 * @Author: MinKun
 * @Date: Created in 2025/5/7
 * @Description:
 */
@Data
@TableName("mini_program_data_setting")
public class MiniProgramDataSetting extends BaseEntity {

    private String iconUrl;

    private String name;

    private Long parentId;

    /** 0:末级类目 1：非末级类目 */
    private Integer level;

    private Integer sort;

    /**
     * @see  com.zhongkun.datahome.common.enums.DataSettingLinkTypeEnum
     */
    private String linkType;

    @TableField(exist = false)
    private List<MiniProgramDataSetting> children;
}
